package com.bw.demo.adapter

import com.bw.demo.R
import com.bw.demo.entity.TypeEntity
import com.bw.demo.entity.VideoEntity
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class TypeAdapter(list: MutableList<TypeEntity>):BaseQuickAdapter<TypeEntity,BaseViewHolder>(R.layout.item_type,list) {
    override fun convert(holder: BaseViewHolder, item: TypeEntity) {
        holder.setText(R.id.tv_type,item.typename)
    }
}